package staticFactory;

public class StudentServiceFactory {
    private static Student student;
    public static Student createStudentServiceBean(String userName, String userPwd){
        student=new Student(userName,userPwd);
        return  student;
    }
}